package com.jumi.microservice.material.service;

import com.jumi.microservice.common.base.dto.ResponseResult;
import com.jumi.microservice.material.dto.warehouse.JmWarehouseResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author ssk
 * @create 2020/9/2 9:10
 **/
@RequestMapping("/jmWarehouse")
public interface IJmWarehouseService {
    @GetMapping("/findAll")
    ResponseResult<List<JmWarehouseResponse>> findAll();

    @GetMapping("/findById")
    ResponseResult<JmWarehouseResponse> findById(@RequestParam("warehouseId") Long warehouseId);
}
